package org.jeecg.modules.htxincailiao.account.domain.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.jeecg.common.util.SmartVerificationUtil;
import org.jeecg.modules.htxincailiao.account.constant.HTAccountTypeEnum;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;

@Data
public class HTSignInSMSCaptchaDTO {


    /**手机号*/
    @NotNull(message = "手机号不能为空")
    @Pattern(regexp = SmartVerificationUtil.PHONE_REGEXP, message = "手机号格式不正确")
    @ApiModelProperty(value = "手机号")
    private String phoneNumber;

    /** 验证码 */
    @NotNull(message = "验证码不能为空")
    @ApiModelProperty(value = "验证码")
    private String captcha;


}
